package com.shein.common.security.config;

import org.apache.shiro.session.mgt.SimpleSession;

import java.io.Serializable;


/**
 * @author lumac
 * @since 2018/12/2
 */
public class DmsSession extends SimpleSession implements Serializable {


    private String uId;

    /**
     * 会话username属性
     */
    public static final String ATTRIBUTE_USERNAME = "username";
    /**
     * 会话emplid 属性
     */
    public static final String ATTRIBUTE_EMPLID = "emplid";

    private static final long serialVersionUID = -4756849451018582957L;

    public DmsSession() {
        super();
        this.setTimeout(10 * 1000L);
    }
}
